import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

import $H from '@/common/lib/request.js';
Vue.prototype.$H = $H

import tabBar from "@/components/tab-bar/tab-bar.vue";
Vue.component('tabBar', tabBar);

import plus from '@dcloudio/uni-app-plus';
Vue.prototype.$plus = plus



//注册环境变量
process.projectEnv = process.env.NODE_ENV !== 'production' ? require('.env.dev.js') : require('.env.production.js');

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
